import Cookies from 'js-cookie';

const TokenKey = 'Teacher-Token';
export function getToken() {
  return Cookies.get(TokenKey);
}
export function setToken(token) {
  return Cookies.set(TokenKey, token);
}
export function removeToken() {
  return Cookies.remove(TokenKey);
}

const TeacherIDKey = 'Teacher-TeacherID';
export function getTeacherID() {
  return Cookies.get(TeacherIDKey);
}
export function setTeacherID(teacherid) {
  return Cookies.set(TeacherIDKey, teacherid);
}
export function removeTeacherID() {
  return Cookies.remove(TeacherIDKey);
}

const TeacherNameKey = 'Teacher-TeacherName';
export function getTeacherName() {
  return Cookies.get(TeacherNameKey);
}
export function setTeacherName(teachername) {
  return Cookies.set(TeacherNameKey, teachername);
}
export function removeTeacherName() {
  return Cookies.remove(TeacherNameKey);
}

const TeacherMobileKey = 'Teacher-TeacherMobile';
export function getTeacherMobile() {
  return Cookies.get(TeacherMobileKey);
}
export function setTeacherMobile(teachermobile) {
  return Cookies.set(TeacherMobileKey, teachermobile);
}
export function removeTeacherMobile() {
  return Cookies.remove(TeacherMobileKey);
}
